#ifndef WRITER_H
#define WRITER_H
#include "library.h"
#include <QRunnable>
#include <QSet>

class Writer: public QRunnable
{
    Library * lib;
    QVector<int> booksWritten;
    int writeTime;
    bool stopWriting;
public:
    Writer(Library * lib, int writeTime);
    void run();
};

#endif // WRITER_H
